package com.itheima.type;

public class TypeConversionDemo3 {
    public static void main(String[] args) {
        int a = 666;
        int b = 66;
        int c = 6;
        int result = a-- - c++ - --b - b++ - --c + a-- - a++ - --c;
        System.out.println(result);
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }
}

/*
result = 666 - 6 - 65 - 65 - 6  + 665 - 664 - 5
a = 665 → 664 → 665
b = 65 → 66
c = 7 → 6 → 5
*/
